//
//  WBNetworkTools.h
//  oc封装网络请求工具类
//
//  Created by KIMI on 16/9/21.
//  Copyright © 2016年 KIMI. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

typedef enum : NSUInteger {
    GET,
    POST,
    
} requestType;

@interface WBNetworkTools :AFHTTPSessionManager

//单例全局访问点
+ (instancetype)sharedNetWorkTooles;

- (void)requestWithType :(requestType)type andURLStr :(NSString *)urlStr andParams :(id)params andCallBack :(void(^)(id response,NSError *error))callBack;
@end
